HAL PSSI macros migration

This section provides information about the HAL PSSI macros migration.

HAL PSSI enable/disable macros

The PSSI enable and disable are automatically handled within the HAL driver in the various transmit/receive functions.

HAL1

HAL2

#define HAL_PSSI_ENABLE

Removed; use LL_CEC_Enable() instead.

#define HAL_PSSI_DISABLE

Removed; use LL_CEC_Disable() instead.


HAL PSSI enable/disable get IT macros

The PSSI enable, disable and get interrupts are automatically handled within the HAL driver in the various transmit/receive functions. If the user wants to handle manually the interrupt, he can use the provided inline functions below.

HAL1

HAL2

#define HAL_PSSI_ENABLE_IT
Removed. use __STATIC_INLINE void HAL_PSSI_EnableIT_OVR_UDR() instead.
#define HAL_PSSI_DISABLE_IT
Removed. use __STATIC_INLINE void HAL_PSSI_DisableIT_OVR_UDR() instead.
#define HAL_PSSI_GET_IT_SOURCE
Removed. use __STATIC_INLINE uint8_t HAL_PSSI_IsEnabledIT_OVR_UDR() instead.

HAL PSSI get/clear flag macros

The PSSI get and clear flags are automatically handled within the HAL driver. If the user wants to handle manually the flags, he can use the provided inline functions below.

HAL1

HAL2

#define HAL_PSSI_GET_FLAG
Removed. use __STATIC_INLINE uint8_t HAL_PSSI_IsActiveFlag_OVR_UDR_RIS() instead.
#define HAL_PSSI_CLEAR_FLAG()
Removed. use __STATIC_INLINE void HAL_PSSI_ClearFlag_OVR_UDR() instead.

HAL PSSI get status macro

The PSSI get status is automatically handled within the HAL driver. If the user wants to get manually the status, he can use the provided inline function below.

HAL1

HAL2

#define HAL_PSSI_GET_STATUS
Removed. use __STATIC_INLINE uint8_t HAL_PSSI_IsActiveFlag_SR() instead.

HAL PSSI reset handle state macro

HAL1

HAL2

#define HAL_PSSI_RESET_HANDLE_STATE
Removed. use void HAL_PSSI_DeInit() instead.

HAL is PSSI bus width macro

HAL1

HAL2

#define IS_PSSI_BUSWIDTH

Removed in HAL2, used internally in HAL1 and do not affect user level operation.


HAL is PSSI clock polarity macro

HAL1

HAL2

#define IS_PSSI_CLOCK_POLARITY

Removed in HAL2, used internally in HAL1 and do not affect user level operation.


HAL is PSSI control signal macro

HAL1

HAL2

#define IS_PSSI_CONTROL_SIGNAL

Removed in HAL2, used internally in HAL1 and do not affect user level operation.


HAL is PSSI DE polarity macro

HAL1

HAL2

#define IS_PSSI_DE_POLARITY

Removed in HAL2, used internally in HAL1 and do not affect user level operation.


HAL is PSSI RDY polarity macro

HAL1

HAL2

#define IS_PSSI_RDY_POLARITY

Removed in HAL2, used internally in HAL1 and do not affect user level operation.